#ifndef M_FILE_H
#define M_FILE_H

#include"ModelBase.h"

typedef struct _FileModel FileModel;

struct _FileModel{
    gint id;
    gchar *name;
    gchar *filename;
    gchar *url;
    gchar *uploader_name;
    gchar *suffixname;
};

FileModel *filemodel_new(JsonObject *each_object);
GPtrArray *FileColumnJsonDecode(JsonObject *object_member);
GPtrArray *FileColumnArray(JsonObject *object_member);
#endif // M_FILE_H
